﻿namespace Dhgms.Whipstaff.Core.Exceptions
{
    /// <summary>
    /// Exception for when the program is starting under a terminal server session and the program doesn't allow it.
    /// </summary>
    public class TerminalServerSessionNotAllowedException
        : System.Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="TerminalServerSessionNotAllowedException"/> class.
        /// </summary>
        public TerminalServerSessionNotAllowedException()
            : base("Connections are not allowed whilst using remote desktop or terminal server")
        {
        }
    }
}
